#ifndef PROJECTSVIEW_H
#define PROJECTSVIEW_H

#include <QWidget>

#ifdef WIN32
# define PATH_SLASH '\\'
#else
# define PATH_SLASH '/'
#endif

namespace Ui {
class ProjectsView;
}

class ProjectsView : public QWidget
{
    Q_OBJECT
    
public:
    explicit ProjectsView(QWidget *parent = 0);
    ~ProjectsView();

signals:
    void CreateNewProject(QString, QString);
    void LoadProject(QString);

private slots:
    void SelectFolder(void);
    void CheckCanCreate(void);
    void TriggerCreateWorld(void);
    void LoadFromFile(void);
    void LoadRecent(void);
    void AddToRecent(QString);

private:
    Ui::ProjectsView *ui;
};

#endif // PROJECTSVIEW_H
